package com.sfy.dao;

import com.sfy.entity.Database1;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DatabaseMapper {
    List<Database1> selectDatabase(Database1 database1);
    Database1 GetDatabaseById(Database1 database);
    int deleteDatabase(int id);
    int updateDatabase(Database1 database);
    int addDatabase(Database1 database);
    int getCount(Database1 database1);
}
